extends Node2D


var cherry = preload("res://Collectables/cherry.tscn")


func _on_timer_timeout():
	var cherryTemp = cherry.instantiate()
	var rng = RandomNumberGenerator.new()
	var ranint = rng.randi_range(100,1000)
	cherryTemp.position = Vector2(ranint,250)
	get_node("Node2D").add_child(cherryTemp)
	#add_child(cherryTemp)
	
